package com.cool.dao;

import com.cool.entity.Admin;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface AdminMapper {
    int deleteByPrimaryKey(String name);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(String name);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin selectByAll(Admin admin);
}